using System;

#if WINDOWS_PHONE
namespace Fibre.WP7.Threading
#else
#if SILVERLIGHT
namespace Fibre.Silverlight.Threading
#else
namespace Fibre.Threading
#endif
#endif
{
    public interface IWorkItem
    {
        Action<IAsyncResult> Complete { get; set; }
        Func<AsyncCallback, IAsyncResult> Work { get; set; }
        Action<string> OnError { get; set; }
    }
}